package com.sdy.healthcode.biz.model;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sdy.common.model.BaseModel;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdy.common.utils.DateUtil;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author cgj
 * @since 2020-03-16
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class VehicleRegistration extends BaseModel {
    private static final long serialVersionUID = 1L;

    @TableId
    private Integer id;

    private Integer userId;

    /**
     * 拜访科室
     */
    private Integer visitDepartment;

    private String visitPeople;

    /**
     * 登记时间
     */
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date createTime;

    private Integer userActionId;

    /**
     * 1-进 2-出
     */
    private Integer action;

    /**
     * 车牌号
     */
    private String carNum;

    /**
     * 人员类型
     */
    private Integer peopleType;

    /**
     * 填写的人员姓名
     */
    private String name;

    /**
     * 填写的身份的证号
     */
    private String cardId;

    /**
     * 填写的手机号
     */
    private String phone;

    /**
     * 填写的拜访科室
     */
    private String visitDeptName;

}
